WeglotWP\Services\Option_Service_Weglot C

Total Complexity 112
Dependencies 6
Dependents 23
Total lines 789
Lines of code 428
Logical lines of code 238
Comment lines 199
Methods 30
Properties 6

Methods 30

Method Rating Maintainability Complexity Lines of code
get_options()
A
46 14 38
get_options_from_cdn_with_api_key()
A
42 9 56
get_options_from_api_with_api_key()
A
44 7 46
get_exclude_urls()
A
49 8 31
get_slugs_from_api_with_api_key()
A
50 8 29
array_merge_recursive_ex()
S
58 7 15
get_exclude_blocks()
S
51 6 28
get_slugs_from_cache_with_api_key()
S
56 5 20
get_option_button()
S
60 5 14
get_options_from_v2()
S
60 5 13
get_switcher_editor_css()
S
63 4 11
get_switchers_editor_button()
S
63 4 11
save_options_to_weglot()
S
54 2 22
get_switcher_editor_option()
S
65 3 10
get_option_custom_settings()
S
64 3 10
get_api_key()
S
65 3 8
get_has_first_settings()
S
66 3 8
get_option_by_key_v3()
S
68 2 7
get_option()
S
68 2 7
get_version()
S
68 2 7
get_options_default()
S
82 1 3
get_destination_languages()
S
75 1 4
get_api_key_private()
S
78 1 3
get_css_custom_inline()
S
79 1 3
get_flag_css()
S
79 1 3
get_translation_engine()
S
79 1 3
set_options()
S
70 1 6
get_options_bdd_v3()
S
78 1 3
set_option_by_key()
S
71 1 6
__construct()
S
80 1 3